/**
 * 
 */
package sqs.dataaccess.hibernate;

import sqs.dataaccess.SubmittedQuestionnaireDao;
import sqs.exception.DataAccessException;
import sqs.model.SubmittedQuestionnaire;

/**
 * @author kjleng
 * 
 */
public class HibernateSubmittedQuestionnaireDao extends AbstractDao implements
		SubmittedQuestionnaireDao {

	public void submitQuestionnaire(SubmittedQuestionnaire submittedQuestionnaire)
			throws DataAccessException {
		try {
			super.saveOrUpdate(submittedQuestionnaire);
        } catch (Throwable t) {
            throw new DataAccessException(t.toString());
        }
	}

}
